package com.tender.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.tender.utils.CustomDateDeserializerUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class CoscoShipFutureBerthHistoryCondition {

    private CoscoShipFutureBerthHistoryEntity condition = new CoscoShipFutureBerthHistoryEntity();

    // 从烟台港的实际离开时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    @Schema(description = "实际离港时间")
    private Date rtd;  // '实际离港时间' 【✔】
}
